package com.xxcloud.search.api.bean.note;

import java.io.Serializable;
import java.util.List;
import com.xxcloud.common.search.RangeBean;
import com.xxcloud.search.api.bean.BaseParameter;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * Created by chenbingwen on 19/10/31.
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class NoteApiParameter extends BaseParameter implements Serializable {

    private static final long serialVersionUID = 8306134138282768699L;

    // 笔记编号
    private List<Long> ids;

    // 笔记标题(暂时采用模糊查询)
    private String title;

    // 创建时间
    private RangeBean createTimeRange;

    // 排序方式
    private NoteSortType sortType = NoteSortType.CREATE_TIME;

}
